package com.pejusdas.sandbox.shoppingcart;

import java.util.List;
import java.util.Vector;

public class ShoppingCart {

	private List<Item> _items = new Vector<Item>();

	public void addItem(Item item) {

		_items.add(item);
	}

	public void removeItem(Item item) {

		_items.remove(item);
	}

	public void empty() {

		_items.clear();
	}

	public float totalValue() {

		// unimplemented... free!
		return 0;
	}
}
